.PHONY:all
all:calserver calclient

calclient:ClientMain.cc
	@g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp
calserver:ServerMain.cc
	@g++ -o $@ $^ -std=c++14 -ljsoncpp -lpthread
.PHONY:clean
clean:
	@rm -rf calserver
